package cn.ceshi.service.impl;

import cn.ceshi.mapper.UserMapper;
import cn.ceshi.pojo.User;
import cn.ceshi.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public Integer userLogin(User user) {
        return userMapper.userLogin(user);
    }
}

